<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>员工列表</title>
<link rel="stylesheet"
	href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
</head>
<body>
	<center>
		<span><a href="/sshsecond/findemployee.jsp">返回</a></span>
		<table width=100%
			class="table table-condensed table table-striped table-bordered table-hover">
			<c:forEach var="plist" items="${slist}">
				<thead>
					<tr>
						<td>id</td>
						<td>姓名</td>
						<td>创建时间</td>
						<td>修改时间</td>
						<td>版本号</td>
						<td>性別</td>
						<td>生日</td>
						<td>身份证号</td>
						<td>婚姻状况</td>
						<td>配偶姓名</td>
						<td></td>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>${plist.id}</td>
						<td>${plist.person_name}</td>
						<td>${plist.create_time}</td>
						<td>${plist.laste_update_time}</td>
						<td>${plist.version_number}</td>
						<td>${plist.gender}</td>
						<td>${plist.birth_time}</td>
						<td>${plist.identity_number}</td>
						<td>${plist.matital_status}</td>
						<td>${plist.spouse_name}</td>
						<td><a href="deleteemployee.do?id=${plist.id}" >删除</a><a href="getid.do?id=${plist.id}" >修改</a></td>
					</tr>
				</tbody>
			</c:forEach>
			<table width=100%
				class="table table-condensed table table-striped table-bordered table-hover">
				<c:forEach var="plist" items="${plist}">
					<thead>
						<tr>
							<td>id</td>
							<td>姓名</td>
							<td>创建时间</td>
							<td>修改时间</td>
							<td>版本号</td>
							<td>性別</td>
							<td>生日</td>
							<td>身份证</td>
							<td>婚姻状况</td>
							<td>配偶姓名</td>
							<td></td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>${plist.id}</td>
							<td>${plist.person_name}</td>
							<td>${plist.create_time}</td>
							<td>${plist.laste_update_time}</td>
							<td>${plist.version_number}</td>
							<td>${plist.gender}</td>
							<td>${plist.birth_time}</td>
							<td>${plist.identity_number}</td>
							<td>${plist.matital_status}</td>
							<td>${plist.spouse_name}</td>
							<td><a href="deleteemployee.do?id=${plist.id}" >删除</a><a href="getid.do?id=${plist.id}" >修改</a></td>
						</tr>
					</tbody>
				</c:forEach>
			</table>
	</center>
</body>
</html>